package com.portico.dept.tech.estimation

import com.portico.dept.solarch.Project

class ActualTrackingGroup {

    String name ="Actual (to Date)";
    Date createdOn = new Date();
    String reportedForMonth;
    Integer reportedForYear;


    static constraints = {
        name inList: ["Actual (to Date)", "Final"]
        reportedForMonth inList: ["01","02","03","04","05","06","07","08","09","10","11","12"]
        reportedForYear inList: ["2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020"]
    }

    static hasMany = [effortTrackingLine: EffortTrackingLine]

    static mapping = {
        effortTrackingLine lazy: false
    }

    static belongsTo = [project:Project]




}
